package com.lagou.sqlSession;

import com.lagou.pojo.Configuration;
import com.lagou.pojo.MappedStatement;

import java.sql.SQLException;
import java.util.List;

/**
 * @author mcl
 * @date 2021/6/6 4:04 下午
 * @description
 */
public interface Executor {
    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;

    boolean execute(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;

}
